<!--
 * @Author: wang_jl
 * @Date: 2021-11-25 9:52:35
 * @LastEditTime: 2021-12-01 15:11:23
 * @Description: 服务器资源问题统一跳转页
 -->
<template>
  <div class="errPage-container">
    <div><img src="@/assets/img/error/500.svg" /></div>
    <div class="text">
      <div class="tone">
        {{ LANG.TONE }}
      </div>
      <div class="desc">
        {{ LANG.ERROR_500 }}
      </div>
      <div class="tip">
        {{ LANG.DESC_403 }}
      </div>
      <div class="btn">
        <fks-button type="primary" @click="back">
          {{ LANG.GO_BACK }}
        </fks-button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Page403',
  data() {
    return {}
  },
  methods: {
    back() {
      this.$router.push('/home')
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.errPage-container {
  display: flex;
  align-items: center;

  img {
    width: 100%;
  }

  .text {
    min-width: 500px;
    padding-left: 128px;

    .tone {
      margin-bottom: 20px;
      font-weight: bold;
      font-size: 24px;
      line-height: 32px;
      color: #0b4870;
      opacity: 0;
      animation-name: slide-up;
      animation-duration: 1s;
      animation-fill-mode: forwards;
    }

    .desc {
      margin: 16px 0 32px;
      font-size: 24px;
      line-height: 32px;
      color: #191919;
      opacity: 0;
      animation-name: slide-up;
      animation-duration: 1s;
      animation-delay: 0.1s;
      animation-fill-mode: forwards;
    }

    .tip {
      font-size: 16px;
      line-height: 20px;
      color: #555;
      opacity: 0;
      animation-name: slide-up;
      animation-duration: 1s;
      animation-delay: 0.2s;
      animation-fill-mode: forwards;
    }

    .btn {
      display: flex;
      justify-content: flex-end;
      margin-top: 48px;
      opacity: 0;
      animation-name: slide-up;
      animation-duration: 1s;
      animation-delay: 0.3s;
      animation-fill-mode: forwards;

      ::v-deep .fks-button {
        width: 106px;
        height: 40px;
        border-radius: 4px;
        color: #fff;
      }
    }

    @keyframes slide-up {
      0% {
        opacity: 0;
        transform: translateY(100px);
      }

      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}
</style>